package com.ZengQi.event.entity;

/**
 * topic表的对应类
 */
public class Topic {
    /**
     * topic表的主键
     */
    private int topicId;
    /**
     * 题目名称
     */
    private String topicName;
    /**
     * 题目内容
     */
    private String topicContent;
    /**
     * 题目答案
     */
    private String topicAnswer;
    /**
     * 题目发布人
     */
    private String topicPublisher;

    public int getTopicId() {
        return topicId;
    }

    public void setTopicId(int topicId) {
        this.topicId = topicId;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getTopicContent() {
        return topicContent;
    }

    public void setTopicContent(String topicContent) {
        this.topicContent = topicContent;
    }

    public String getTopicAnswer() {
        return topicAnswer;
    }

    public void setTopicAnswer(String topicAnswer) {
        this.topicAnswer = topicAnswer;
    }

    public String getTopicPublisher() {
        return topicPublisher;
    }

    public void setTopicPublisher(String topicPublisher) {
        this.topicPublisher = topicPublisher;
    }

    @Override
    public String toString() {
        return "Topic{" +
                "topicId=" + topicId +
                ", topicName='" + topicName + '\'' +
                ", topicContent='" + topicContent + '\'' +
                ", topicAnswer='" + topicAnswer + '\'' +
                ", topicPublisher='" + topicPublisher + '\'' +
                '}';
    }
}
